package com.nation.dao;

import com.nation.domain.TNationInfo;

import java.util.List;
import java.util.Map;

/**
 * Created by dqd on 2017/11/3.
 */
public interface BaseDao<E> {

    public List<E> findAll();

    public E findByCountryCode(String country_code);

    public Boolean update(E e);

    public List<E> findByLimit(Map<String,Object> map);

    public Boolean insert(E e);

    public List<E> findByCondition(Map<String,Object> map);

    public Boolean delete(String pk);
}
